package com.javatest.springbootelastic.bean;

import io.searchbox.annotations.JestId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author lzy
 * @version v1.0 Create DateTime: 2019/4/24 10:17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Article {
  @JestId private Integer id;
  private String author;
  private String title;
  private String content;
}
